---
title: FormatColor.Color Property (Excel)
keywords: vbaxl10.chm802073
f1_keywords:
- vbaxl10.chm802073
ms.prod: excel
api_name:
- Excel.FormatColor.Color
ms.assetid: c084cdbc-068c-bd0c-2f35-987964286be2
ms.date: 06/08/2017
---


# FormatColor.Color Property (Excel)

Returns or sets the fill color associated with a threshold for a data bar or color scale conditional formatting rule.


## Syntax

 _expression_ . **Color**

 _expression_ A variable that represents a **FormatColor** object.


## Remarks

The format color is expressed as an RGB function. For example, to set the color to red, use  `RGB(255,0,0)`.


## See also


#### Concepts


[FormatColor Object](formatcolor-object-excel.md)

